<?php

namespace App\Models\Cashier;

use Illuminate\Database\Eloquent\Model;

class Employee extends Model
{
    //定义白名单
    protected $fillable = ['name', 'image', 'phone', 'status', 'position', 'store_id'];

    //员工属于门店
    public function store()
    {
        return $this->belongsTo('App\Models\Cashier\Store');
    }
}
